﻿<layout name="page" />
<block name="content">
{:widget('page_header/simple',array('name'=>'文电承办结果'))}
	<div class="operate-panel">
		<div class="x-panel-body">
			<div class="pull-right">
				<a onclick="go_return_url();" class="btn">返回</a>
			</div>

		</div>
	</div>
<form method='post' id="form_data" name="form_data" enctype="multipart/form-data"   >
<input type="hidden"value="{$gov_doc_id}"name="gov_doc_id"/>
<div  >
       
			<label class="input-label" for="name">标题：</label>
			
				<p class="input-static">
					{$wendian['title']}
				</p>
			</div>
		</div>

		
			<label class="input-label" for="content">文号：</label>
			<div class="col-xs-10">
				<div class="task_content input-static">
					{$wendian['doc_no']}
				</div>
			</div>
		</div>
		
			<label class="input-label" for="content">类型：</label>
			<div class="col-xs-10">
				<div class="task_content input-static">
                   
                   <switch name="wendian['doc_type']">
                   	<case value="0">文电</case>
                   	<case value="1">电报</case>
                   	
                   </switch>
				</div>
			</div>
		</div>
		
			<label class="input-label" for="content">文档：</label>
			<div class="col-xs-10">
				<div class="task_content input-static">
                   {:widget('file_upload/view',array('add_file'=>$wendian['add_file'],'mode'=>'show'))}
				</div>
			</div>
		</div>
</div>
        <div class="row">
            <label class="input-label" for="content">
                承办结果：
            </label>
            <div class="col-xs-12">
                <textarea id="content" name="content"  style="width:100%;height:100px;"></textarea>
            </div>
        </div>
        
        <div class="operate-panel">
		<div class="x-panel-body">
			
            <div class="col-sm-12 col-sm-offset-5">
                <a class="btn btn-normal" onclick="save()">保存</a>
				<a class="btn btn-return" onclick="go_return_url()">取消 </a>
            </div>
        

		</div>
	</div>
</block>
<block name="js">
	<script type="text/javascript">  

      function save(){
		  var vars=$("#form_data").serialize();
		  send_ajax("{:url('save_readover3')}",vars,function(data){
              if (data.status) {
                    ui_alert(data.info, function(){
                        go_return_url();
                    });
                }
		  });
	  } 
	</script>
</block>